<?php include THEMES_PATH . 'public/before_body2.phtml'; ?>
<link href="/statics/front/css/partner-login.css" rel="stylesheet">
</head>
<body>
    <?php include THEMES_PATH . 'public/header2.phtml';?>
    <style>
        /*新添加的样式*//*新添加的样式*//*新添加的样式*//*新添加的样式*//*新添加的样式*//*新添加的样式*//*新添加的样式*//*新添加的样式*/
        .modal_bg{background-color:rgba(255,255,255,1.00);}
        .login_content{width: 1440px;height:800px;margin: 0 auto;}
        .login_main{width: 706px; height: 359px; position: absolute;top: 200px;left: 50%;right: 50%; margin-left: -353px;margin-right: -353px;}
        .login_inputbox{position: absolute;top: 50px;left: 80px;width: 300px;height: 260px;}
        .login_tittle,.login_btn{width: 300px;height: 40px;line-height: 40px;}
        .login_tittle{text-align: left;font-size: 16px;margin-bottom: 5px;}
        .login_btn{color: #fff; text-align: center;background: linear-gradient( #3eabb8,#44c3d2);cursor: pointer;margin: 20px 0 0px;}
        .input_wrap{border: 1px solid rgba(215,215,215,1.00);background: #fff;width: 300px;height: 40px;margin-bottom:18px;}
        .input_wrap input{border: none;width: 266px!important;height: 38px;font-size: 14px;}
        .input_wrap img{margin: 8px 4px;float: left;}
        .login_register{width: 300px;height: 40px;font-size: 14px;line-height: 40px}
        .register{float: left;cursor: pointer;}
        .forget_password{float: right;cursor: pointer;color: #878787;}
        .login_copyright{text-align: center;font-size: 14px; height: 48px;line-height: 24px;}
        /*新添加的样式*//*新添加的样式*//*新添加的样式*//*新添加的样式*//*新添加的样式*//*新添加的样式*//*新添加的样式*//*新添加的样式*//*新添加的样式*/

        .public_notes{

            text-align: center;
            color: #fff;
            font-size: 15px;
            background-color: #ec6b65;
            height: 40px;
            line-height: 40px;
            display: none
        }
        .notes_content{
            max-width: 1200px;
            margin-right: auto;
            margin-left: auto;
        }
        .js-delete-notes{
            margin-left: 260px;
        }
    </style>
    <div class="modal-container">
        <!-- Modal:loginForm -->
        <!-- <div class="modal fade" id="loginModal">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal"><span>&times;</span></button>
                    </div>
                    <div class="modal-body">
                        <h3 class="modal-title"><?php echo L('Partner_Login');?></h3>
                        <div class="row">
                            <form method="post" id="loginForm" class="col-md-8 col-md-push-2">
                                <div class="mb1x"><input type="text" name="username" placeholder="<?php echo L('USERNAME');?>" /></div>
                                <div class="mb1x"><input type="password" name="password" placeholder="<?php echo L('PASSWORD');?>" /></div>
                                <div class="mb1x align-right"><a href="<?php echo url('user/getpassword');?>"><?php echo L('Forget_Password');?></a></div>
                                <button type="submit" name="dosubmit" class="width-full btn js-submit"><?php echo L('login');?></button>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div> -->
        <!-- Modal:loginForm -->

       <!--修改的部分2018.5月-->
        <div class="modal fade modal_bg" data-backdrop="static" id="loginModal"><!--防止用户点击空白处关闭-->
            <div class="login_content login_pc" style="display: none">
                <img src="/statics/front/images/partner/bg0.jpg">
                <div class="login_main">
                    <img src="/statics/front/images/partner/bg_opacity.png">

                    <div class="login_inputbox">
                        <form method="post" id="loginForm">
                        <div class="login_tittle">账号登录</div>
                        <div class="input_wrap">
                            <img src="/statics/front/images/partner/admin.png" width="24">
                            <input type="text" name="username">
                        </div>

                        <div class="input_wrap">
                            <img src="/statics/front/images/partner/keys.png" width="24">
                            <input type="password" name="password">
                        </div>
                        <button type="submit" name="dosubmit" class="login_btn width-full btn js-submit">登录</button>
                        <div class="login_register">
                            <a href="<?php echo url('user/getpassword');?>"><div class="forget_password">忘记密码</div></a>
                        </div>
                        </form>
                    </div>

                </div>
                <div class="login_copyright main-width"><a target="_blank" href="https://beian.miit.gov.cn">浙ICP备16031869号-3</a> ©ownonly.net All Right Reserved&nbsp;&nbsp;</div>

            </div>
       <!--修改的部分2018.5月-->
            <!--之前的模态弹框-->
            <div class="modal-dialog login_mobile">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal"><span>×</span></button>
                    </div>
                    <div class="modal-body">
                        <h3 class="modal-title">衣来了®&nbsp;云定制系统</h3>
                        <div class="row">
                            <form method="post" id="loginForm_2" class="col-md-8 col-md-push-2" novalidate>
                                <div class="mb1x"><input type="text" name="username" placeholder="用户名"></div>
                                <div class="mb1x"><input type="password" name="password" placeholder="密码"></div>

                                <div class="mb1x">
                                    <a href="/user/getpassword" class="align-right" style="float: right">忘记密码?</a></div>
                                <button type="submit" name="dosubmit" class="width-full btn js-submit">登录</button>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>

      <!--修改的部分2018.5月 END-->
        <!-- Modal:feedback -->
        <div class="modal fade" id="partnerFeedbackModal">
            <div class="modal-dialog modal-lg">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal"><span>&times;</span></button>
                    </div>
                    <div class="modal-body">
                        <h3 class="modal-title"><?php echo L('OWNONLY_Partner_Application');?></h3>
                        <div class="row">
                            <form method="post" id="partnerFeedbackForm" class="col-md-10 col-md-push-1">
                                <div class="col-md-6 mb1x"><input class="required" type="text" name="name" placeholder="<?php echo L('NAME');?>" /></div>
                                <div class="col-md-6 mb1x"><input class="required" type="text" name="email" placeholder="<?php echo L('EMAIL');?>" /></div>
                                <div class="col-md-6 mb1x"><input class="required" type="text" name="phone" placeholder="<?php echo L('PHONE');?>" /></div>
                                <div class="col-md-6 mb1x"><input class="required" type="text" name="company_name" placeholder="<?php echo L('COMPANY_NAME');?>" /></div>
                                <div class="col-md-6 mb1x"><input class="required" type="text" name="business_website" placeholder="<?php echo L('BUSINESS_WEBSITE');?>" /></div>
                                <div class="col-md-6 mb1x"><input class="required" type="text" name="company_employees" placeholder="<?php echo L('COMPANY_EMPLOYEES');?>" /></div>
                                <div class="col-md-6 mb1x"><input class="required" type="text" name="country" placeholder="<?php echo L('COUNTRY');?>" /></div>
                                <div class="col-md-6 mb1x"><input class="required" type="text" name="annual_revenue" placeholder="<?php echo L('ANNUAL_REVENUE');?>" /></div>
                                <div class="col-md-12 mb1x"><textarea class="required" name="business_introduce" placeholder="<?php echo L('INTRODUCE_YOUR_BUSINESS');?>"></textarea></div>
                                <div class="col-md-12 mb1x"><textarea class="required" name="work_plan" placeholder="<?php echo L('WANT_TO_WORK');?>"></textarea></div>
                                <div class="col-md-12 align-center"><button type="submit" name="dosubmit" class="btn feedback-btn js-submit"><?php echo L('submit');?></button></div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="clearfix">
        <div class="banner rel">
            <img src="/statics/front/images/partner/banner.jpg" alt="合作伙伴" class="vm">
            <div class="banner-text">
                <div class="banner-title col-md-8  col-md-push-2 col-xs-12">
                  <h1 class="align-center"><?php echo L('Partnering_With_OWNONLY');?></h1>
                </div>
                <div class="banner-context col-lg-10 col-lg-push-1 col-md-10 col-md-push-1 col-xs-12">
                    <div class="article clearfix hi-sm hi-xs">
                      <h3 class="align-center" hidden><?php echo L('OWNONLY_Vision');?></h3>
                        <article>
                        <p><?php echo L('OWNONLY_Vision_1');?></p>
                        <p><?php echo L('OWNONLY_Vision_2');?></p>
                        <p><?php echo L('OWNONLY_Vision_3');?></p>
                        <p><?php echo L('OWNONLY_Vision_parther');?>
                           <a href="javascript:" data-toggle="modal" data-target="#loginModal"><?php echo L('OWNONLY_Vision_parther_login');?></a>
                        </p>
                      </article>
                    </div>
                    <div class="align-center">
                         <?php if($user && $user['is_partner'] == 1):?>
                         <button class="btn reverse login" data-toggle="modal" onClick="location.href='/partner/center'"><?php echo L('My_Business');?></button>
                         <?php else:?>
                         <button class="btn reverse login hide" data-toggle="modal" data-target="#loginModal"><?php echo L('Partner_Login');?></button>
						 <?php endif;?>
                    </div>
                </div>
            </div>
            <!--show when small screen-->
            <div class="sm-screen col-md-10 col-md-push-1 col-xs-12">
                <div class="article clearfix" hidden>
                    <h3 class="align-center" hidden><?php echo L('OWNONLY_Vision');?></h3>
                    <article>
                        <p><?php echo L('OWNONLY_Vision_1');?></p>
                        <p><?php echo L('OWNONLY_Vision_2');?></p>
                        <p><?php echo L('OWNONLY_Vision_3');?></p>
                        <p>已是合作伙伴? <a href="javascript:" data-toggle="modal" data-target="#loginModal">请登录</a></p>
                    </article>
                </div>
            </div>
        </div>

        <div class="pt1x tabs-wrapper">
          <div class="tabs js-tabs align-center clearfix">
            <ul>
              <li class="col-xs-12 col-sm-6 col-md-5 col-md-offset-1"><span class="current"><?php echo L('Dropshipping_Partner');?></span></li>
              <li class="col-xs-12 col-sm-6 col-md-5"><span><?php echo L('Brand_Partner');?></span></li>
            </ul>
          </div>
        </div>
        <div class="tabs-con">
            <div class="tab-content">
                <div class="main-width item-container">
                    <h3 class="align-center"><?php echo L('partner_tips_a');?></h3>
                    <ul class="clearfix">
                        <li class="col-md-6 mb2x">
                            <div class="col-md-3 col-sm-3"><img class="hi-xs" src="/statics/front/images/partner/tab-1-1.png"></div>
                            <div class="col-md-9 col-sm-9">
                                <i class="serial-num">1</i>
                                <strong><?php echo L('partner_tips_a_1');?></strong>
                                <p class="mt1x"><?php echo L('partner_tips_a_1_c');?></p>
                            </div>
                        </li>
                        <li class="col-md-6 mb2x">
                            <div class="col-md-3 col-sm-3"><img class="hi-xs" src="/statics/front/images/partner/tab-1-2.png"></div>
                            <div class="col-md-9 col-sm-9">
                                <i class="serial-num">2</i>
                                <strong><?php echo L('partner_tips_a_2');?></strong>
                                <p class="mt1x"><?php echo L('partner_tips_a_2_c');?></p>
                            </div>
                        </li>
                    </ul>
                    <ul class="clearfix">
                        <li class="col-md-6 mb2x">
                            <div class="col-md-3 col-sm-3"><img class="hi-xs" src="/statics/front/images/partner/tab-1-3.png"></div>
                            <div class="col-md-9 col-sm-9">
                                <i class="serial-num">3</i>
                                <strong><?php echo L('partner_tips_a_3');?></strong>
                                <p class="mt1x"><?php echo L('partner_tips_a_3_c');?></p>
                            </div>
                        </li>
                        <li class="col-md-6 mb2x">
                            <div class="col-md-3 col-sm-3"><img class="hi-xs" src="/statics/front/images/partner/tab-1-4.png"></div>
                            <div class="col-md-9 col-sm-9">
                                <i class="serial-num">4</i>
                                <strong><?php echo L('partner_tips_a_4');?></strong>
                                <p class="mt1x"><?php echo L('partner_tips_a_4_c');?></p>
                            </div>
                        </li>
                    </ul>
                    <ul class="clearfix">
                        <li class="col-md-6 mb2x">
                            <div class="col-md-3 col-sm-3"><img class="hi-xs" src="/statics/front/images/partner/tab-1-5.png"></div>
                            <div class="col-md-9 col-sm-9">
                              <i class="serial-num">5</i>
                              <strong><?php echo L('partner_tips_a_5');?></strong>
                              <p class="mt1x"><?php echo L('partner_tips_a_5_c');?></p>
                            </div>
                        </li>
                        <li class="col-md-6 mb2x">
                            <div class="col-md-3 col-sm-3"><img class="hi-xs" src="/statics/front/images/partner/tab-1-6.png"></div>
                            <div class="col-md-9 col-sm-9">
                                <i class="serial-num">6</i>
                                <strong><?php echo L('partner_tips_a_6');?></strong>
                                <p class="mt1x"><?php echo L('partner_tips_a_6_c');?></p>
                            </div>
                        </li>
                    </ul>
                </div>
                <div class="bg-silver item-container">
                    <div class="main-width">
                        <h3 class="align-center"><?php echo L('partner_tips_b');?></h3>
                        <ul class="clearfix">
                            <li class="col-md-6 mb2x">
                                <div class="col-md-3 col-sm-3"><img class="hi-xs" src="/statics/front/images/partner/tab-1-7.png"></div>
                                <div class="col-md-9 col-sm-9">
                                    <strong><?php echo L('partner_tips_b_1');?></strong>
                                    <p class="mt1x"><?php echo L('partner_tips_b_1_c');?></p>
                                </div>
                            </li>
                            <li class="col-md-6 mb2x">
                                <div class="col-md-3 col-sm-3"><img class="hi-xs" src="/statics/front/images/partner/tab-1-8.png"></div>
                                <div class="col-md-9 col-sm-9">
                                    <strong><?php echo L('partner_tips_b_2');?></strong>
                                    <p class="mt1x"><?php echo L('partner_tips_b_2_c');?></p>
                                </div>
                            </li>
                        </ul>
                        <ul class="clearfix">
                            <li class="col-md-6 mb2x">
                                <div class="col-md-3 col-sm-3"><img class="hi-xs" src="/statics/front/images/partner/tab-1-9.png"></div>
                                <div class="col-md-9 col-sm-9">
                                    <strong><?php echo L('partner_tips_b_3');?></strong>
                                    <p class="mt1x"><?php echo L('partner_tips_b_3_c');?></p>
                                </div>
                            </li>
                            <li class="col-md-6 mb2x">
                                <div class="col-md-3 col-sm-3"><img class="hi-xs" src="/statics/front/images/partner/tab-1-10.png"></div>
                                <div class="col-md-9 col-sm-9">
                                    <strong><?php echo L('partner_tips_b_4');?></strong>
                                    <p class="mt1x"><?php echo L('partner_tips_b_4_c');?></p>
                                </div>
                            </li>
                        </ul>
                        <ul class="clearfix">
                            <li class="col-md-6 mb2x">
                                <div class="col-md-3 col-sm-3"><img class="hi-xs" src="/statics/front/images/partner/tab-1-11.png"></div>
                                <div class="col-md-9 col-sm-9">
                                    <strong><?php echo L('partner_tips_b_5');?></strong>
                                    <p class="mt1x"><?php echo L('partner_tips_b_5_c');?></p>
                                </div>
                            </li>
                            <li class="col-md-6 mb2x">
                                <div class="col-md-3 col-sm-3"><img class="hi-xs" src="/statics/front/images/partner/tab-1-12.png"></div>
                                <div class="col-md-9 col-sm-9">
                                    <strong><?php echo L('partner_tips_b_6');?></strong>
                                    <p class="mt1x"><?php echo L('partner_tips_b_6_c');?></p>
                                </div>
                            </li>
                        </ul>
                        <div class="align-center">
                          <button class="mt2x mb2x btn btn-large btn-normal" data-toggle="modal" data-target="#partnerFeedbackModal"><?php echo L('Apply_to_partner');?></button>
                        </div>
                    </div>
                </div>
                <div class="main-width item-container faq js-faq">
                    <h3 class="align-left"><?php echo L('_FAQ_');?></h3>
                    <ul class="clearfix">
                        <li class="mb1x">
                            <strong><span class="fa fa-plus"> </span><?php echo L('partner_tips_c_1');?></strong>
                            <p><?php echo L('partner_tips_c_1_c');?></p>
                        </li>
                        <li class="mb1x">
                            <strong><span class="fa fa-plus"> </span><?php echo L('partner_tips_c_2');?></strong>
                            <p><?php echo L('partner_tips_c_2_c');?></p>
                        </li>
                        <li class="mb1x">
                            <strong><span class="fa fa-plus"> </span><?php echo L('partner_tips_c_3');?></strong>
                            <p><?php echo L('partner_tips_c_3_c');?></p>
                        </li>
                        <li class="mb1x">
                            <strong><span class="fa fa-plus"> </span><?php echo L('partner_tips_c_4');?></strong>
                            <p><?php echo L('partner_tips_c_4_c');?></p>
                        </li>
                        <li class="mb1x">
                            <strong><span class="fa fa-plus"> </span><?php echo L('partner_tips_c_5');?></strong>
                            <p><?php echo L('partner_tips_c_5_c');?></p>
                        </li>
                        <li class="mb1x">
                            <strong><span class="fa fa-plus"> </span><?php echo L('partner_tips_c_6');?></strong>
                            <p><?php echo L('partner_tips_c_6_c');?></p>
                        </li>
                        <li class="mb1x">
                            <strong><span class="fa fa-plus"> </span><?php echo L('partner_tips_c_7');?></strong>
                            <p><?php echo L('partner_tips_c_7_c');?></p>
                        </li>
                        <li class="mb1x">
                            <strong><span class="fa fa-plus"> </span><?php echo L('partner_tips_c_8');?></strong>
                            <p><?php echo L('partner_tips_c_8_c');?></p>
                        </li>
                        <li class="mb1x">
                            <strong><span class="fa fa-plus"> </span><?php echo L('partner_tips_c_9');?></strong>
                            <p><?php echo L('partner_tips_c_9_c');?></p>
                        </li>
                        <li class="mb1x">
                            <strong><span class="fa fa-plus"> </span><?php echo L('partner_tips_c_10');?></strong>
                            <p><?php echo L('partner_tips_c_10_c');?></p>
                        </li>
                        <li class="mb1x">
                            <strong><span class="fa fa-plus"> </span><?php echo L('partner_tips_c_11');?></strong>
                            <p><?php echo L('partner_tips_c_11_c');?></p>
                        </li>
                        <li class="mb1x">
                            <strong><span class="fa fa-plus"> </span><?php echo L('partner_tips_c_12');?></strong>
                            <p><?php echo L('partner_tips_c_12_c');?></p>
                        </li>
                        <li>
                            <strong><span class="fa fa-plus"> </span><?php echo L('partner_tips_c_13');?></strong>
                            <p><?php echo L('partner_tips_c_13_c');?></p>
                        </li>
                    </ul>
                    <div class="align-center">
                      <button class="mt2x mb1x btn btn-large btn-normal" data-toggle="modal" data-target="#partnerFeedbackModal"><?php echo L('Apply_to_partner');?></button>
                    </div>
                </div>
            </div>
            <div hidden="hidden" class="tab-content">
                <div class="clearfix">
                  <div class="row col-md-5 hi-sm hi-xs">
                    <img src="/statics/front/images/partner/tab-2-0.jpg">
                  </div>
                  <div class="col-lg-6 col-md-7 pt5x">
                    <h3 class="align-center">
                      <?php echo L('Brand_title');?>
                      <br>
                      <span class="mt1x line"></span>
                    </h3>
                    <p><?php echo L('Brand_title_c');?></p>
                  </div>
                </div>
                <div class="clearfix bg-silver item-container">
                    <h3 class="align-center">
                      <?php echo L('partner_tips_d');?>
                      <br>
                      <span class="mt1x line"></span>
                    </h3>
                    <ul class="main-width">
                        <li class="col-md-4 mb2x">
                            <div class="col-md-12"><img class="hi-xs" src="/statics/front/images/partner/tab-2-1.png"></div>
                            <div class="col-md-12 col-sm-9">
                                <strong><?php echo L('partner_tips_d_1');?></strong>
                                <p class="mt1x"><?php echo L('partner_tips_d_1_c');?></p>
                            </div>
                        </li>
                        <li class="col-md-4 mb2x">
                            <div class="col-md-12"><img class="hi-xs" src="/statics/front/images/partner/tab-2-2.png"></div>
                            <div class="col-md-12 col-sm-9">
                                <strong><?php echo L('partner_tips_d_2');?></strong>
                                <p class="mt1x"><?php echo L('partner_tips_d_2_c');?></p>
                            </div>
                        </li>
                        <li class="col-md-4 mb2x">
                            <div class="col-md-12"><img class="hi-xs" src="/statics/front/images/partner/tab-2-3.png"></div>
                            <div class="col-md-12 col-sm-9">
                                <strong><?php echo L('partner_tips_d_3');?></strong>
                                <p class="mt1x"><?php echo L('partner_tips_d_3_c');?></p>
                            </div>
                        </li>
                    </ul>
                    <ul class="main-width">
                        <li class="col-md-4 mb2x">
                            <div class="col-md-12"><img class="hi-xs" src="/statics/front/images/partner/tab-2-4.png"></div>
                            <div class="col-md-12 col-sm-9">
                                <strong><?php echo L('partner_tips_d_4');?></strong>
                                <p class="mt1x"><?php echo L('partner_tips_d_4_c');?></p>
                            </div>
                        </li>
                        <li class="col-md-4 mb2x">
                            <div class="col-md-12"><img class="hi-xs" src="/statics/front/images/partner/tab-2-5.png"></div>
                            <div class="col-md-12 col-sm-9">
                                <strong><?php echo L('partner_tips_d_5');?></strong>
                                <p class="mt1x"><?php echo L('partner_tips_d_5_c');?></p>
                            </div>
                        </li>
                        <li class="col-md-4 mb2x">
                            <div class="col-md-12"><img class="hi-xs" src="/statics/front/images/partner/tab-2-6.png"></div>
                            <div class="col-md-12 col-sm-9">
                                <strong><?php echo L('partner_tips_d_6');?></strong>
                                <p class="mt1x"><?php echo L('partner_tips_d_6_c');?></p>
                            </div>
                        </li>
                    </ul>
                    <ul class="main-width">
                        <li class="col-md-4 mb2x">
                            <div class="col-md-12"><img class="hi-xs" src="/statics/front/images/partner/tab-2-7.png"></div>
                            <div class="col-md-12 col-sm-9">
                                <strong><?php echo L('partner_tips_d_7');?></strong>
                                <p class="mt1x"><?php echo L('partner_tips_d_7_c');?></p>
                            </div>
                        </li>
                        <li class="col-md-4 mb2x">
                            <div class="col-md-12"><img class="hi-xs" src="/statics/front/images/partner/tab-2-8.png"></div>
                            <div class="col-md-12 col-sm-9">
                                <strong><?php echo L('partner_tips_d_8');?></strong>
                                <p class="mt1x"><?php echo L('partner_tips_d_8_c');?></p>
                            </div>
                        </li>
                    </ul>
                </div>
                <div class="clearfix item-container">
                    <h3 class="mt3x align-center">
                      你的品牌，OWNONLY售卖！如何实现？
                      <br>
                      <span class="mt1x line"></span>
                    </h3>
                    <p class="main-width mb2x">不管您是成衣品牌商，还是定制服务商；不管您是线上推广，还是线下销售；OWNONLY这个集男士服饰于一体的平台，将是您拓宽销量，打造品牌的不二之选。您需要做的，就是收钱，发货！</p>
                    <ul class="main-width">
                      <li class="col-md-4 mb2x">
                        <div class="col-md-12"><img class="hi-xs" src="/statics/front/images/partner/brand-partner-works1.jpg"></div>
                        <div class="col-md-12 col-sm-9">
                          <strong>协议约定 </strong>
                          <p class="mt1x">达成合作意向之后，双方约定价格，结算，发货等具体事项，并签订相关协议。</p>
                        </div>
                      </li>
                      <li class="col-md-4 mb2x">
                        <div class="col-md-12"><img class="hi-xs" src="/statics/front/images/partner/brand-partner-works2.jpg"></div>
                        <div class="col-md-12 col-sm-9">
                          <strong>产品资料准备</strong>
                          <p class="mt1x">你们整理好产品资料提供给OWNONLY,如：图片，标题，描述，价格，参数等。</p>
                        </div>
                      </li>
                      <li class="col-md-4 mb2x">
                        <div class="col-md-12"><img class="hi-xs" src="/statics/front/images/partner/brand-partner-works3.jpg"></div>
                        <div class="col-md-12 col-sm-9">
                          <strong>上架到OWNONLY网站</strong>
                          <p class="mt1x">OWNONLY将安排一对一的客户经理将您的产品上的客户经理将您的产品上</p>
                        </div>
                      </li>
                    </ul>
                    <ul class="main-width">
                      <li class="col-md-4 mb2x">
                        <div class="col-md-12"><img class="hi-xs" src="/statics/front/images/partner/brand-partner-works4.jpg"></div>
                        <div class="col-md-12 col-sm-9">
                          <strong>后台下单系统对接</strong>
                          <p class="mt1x">请安排你们的技术人员与OWNONLY进行下单系统的对接，以便于OWNONLY接到订单之后，能快速的将订单信息传达给你们。</p>
                        </div>
                      </li>
                      <li class="col-md-4 mb2x">
                        <div class="col-md-12"><img class="hi-xs" src="/statics/front/images/partner/brand-partner-works5.jpg"></div>
                        <div class="col-md-12 col-sm-9">
                          <strong>发货</strong>
                          <p class="mt1x">客户在我们网站上下单之后，我们会在第一时间把订单信息给你们，你们安排生产与发货。</p>
                        </div>
                      </li>
                      <li class="col-md-4 mb2x">
                        <div class="col-md-12"><img class="hi-xs" src="/statics/front/images/partner/brand-partner-works6.jpg"></div>
                        <div class="col-md-12 col-sm-9">
                          <strong>结算与售后服务</strong>
                          <p class="mt1x">我们将在约定时间将订单款项结算给您，并为您做好客户的售后服务。</p>
                        </div>
                      </li>
                    </ul>
                    <div class="align-center">
                      <button class="mt2x mb2x btn btn-large btn-normal" data-toggle="modal" data-target="#partnerFeedbackModal"><?php echo L('Apply_to_brand_partner');?></button>
                    </div>
                </div>
                <div class="clearfix main-width">
                  <h3 class="align-center"><?php echo L('Want_Brand_Partners');?></h3>
                  <p><?php echo L('Want_Brand_Partners_1');?></p>
                  <p><?php echo L('Want_Brand_Partners_2');?></p>
                  <p><?php echo L('Want_Brand_Partners_3');?></p>
                  <strong class="db mt1x align-center"><?php echo L('Your_Brand');?></strong>
                  <p class="align-center">
                    <button class="mt1x mb2x btn btn-large btn-normal reverse contact" data-toggle="modal" data-target="#partnerFeedbackModal"><?php echo L('Contact_us_now');?></button>
                  </p>
                </div>
            </div>
        </div>
    </div>
<?php include THEMES_PATH.'public/footer2.phtml';?>
<?php include THEMES_PATH.'public/after_body.phtml';?>

<script>
    $(function () {
        <?php if($_GET['loginbox'] == 'show'):?>
        $('#loginModal').modal('show');
        <?php endif;?>
        /*标签页切换*/
        $(".js-tabs").on("click", "li", function () {
            var _self = $(this),
                _index = _self.index();
            _self.find("span").addClass("current").end().siblings().find("span").removeClass("current");
            $(".tabs-con").find(".tab-content").eq(_index).show().siblings().hide();
        });

        /*FAQ*/
        $('.js-faq').on('click', 'li > strong', function () {
          $(this).toggleClass("curs").find(".fa").toggleClass("fa-minus").end().siblings("p").stop().toggle("slideDown");
        });

        /*登录表单验证*/
        $("#loginForm").validate({
            errorElement: 'p',
            submitHandler: function (form) {
                form.submit();
            },
            errorPlacement: function (error, element) {
                element.after(error);
            },
            rules: {
                username: {
                    required: true,
                    email: true
                },
                password: {
                    required: true,
                    rangelength: Array(6, 20)
                }
            },
            messages: {
                username: {
                    required: "<?php echo L('input_email_addres');?>",
                    email: "<?php echo L('_EMAIL_FORMAT_ERROR_');?>"
                },
                password: {
                    required: "<?php echo L('input_login_passwd');?>",
                    rangelength: "<?php echo L('_THE_PASSWORD_SHOULD_BE_BETWEEN_6_20_');?>"
                }
            }
        });

        /*登录表单验证*/
        $("#loginForm_2").validate({
            errorElement: 'p',
            submitHandler: function (form) {
                form.submit();
            },
            errorPlacement: function (error, element) {
                element.after(error);
            },
            rules: {
                username: {
                    required: true,
                    email: true
                },
                password: {
                    required: true,
                    rangelength: Array(6, 20)
                }
            },
            messages: {
                username: {
                    required: "<?php echo L('input_email_addres');?>",
                    email: "<?php echo L('_EMAIL_FORMAT_ERROR_');?>"
                },
                password: {
                    required: "<?php echo L('input_login_passwd');?>",
                    rangelength: "<?php echo L('_THE_PASSWORD_SHOULD_BE_BETWEEN_6_20_');?>"
                }
            }
        });
        /*feedback表单验证*/
        $("#partnerFeedbackForm").validate({
            errorElement: 'p',
            submitHandler: function (form) {
                submitpartnerFeedbackForm();
            },
            errorPlacement: function (error, element) {
                element.after(error);
            },
            rules: {
                email: {
                    required: true,
                    email: true
                }
            },
            messages: {
                email: {
                    required: "<?php echo L('input_email_addres');?>",
                    email: "<?php echo L('_EMAIL_FORMAT_ERROR_');?>"
                }
            }
        });

        //partner submit
        function submitpartnerFeedbackForm() {
            var $partnerFeedbackForm = $('#partnerFeedbackForm');
            $.ajax({
                type: 'POST',
                url: "/groupBuying/formpost",
                data: {
                    'type': 'partner',
                    'name': $('input[name="name"]', $partnerFeedbackForm).val(),
                    'email': $('input[name="email"]', $partnerFeedbackForm).val(),
                    'phone': $('input[name="phone"]', $partnerFeedbackForm).val(),
                    'company_name': $('input[name="company_name"]', $partnerFeedbackForm).val(),
                    'business_website': $('input[name="business_website"]', $partnerFeedbackForm).val(),
                    'company_employees': $('input[name="company_employees"]', $partnerFeedbackForm).val(),
                    'country': $('input[name="country"]', $partnerFeedbackForm).val(),
                    'annual_revenue': $('input[name="annual_revenue"]', $partnerFeedbackForm).val(),
                    'business_introduce': $('textarea[name="business_introduce"]', $partnerFeedbackForm).val(),
                    'work_plan': $('textarea[name="work_plan"]', $partnerFeedbackForm).val()
                },
                cache: false,
                success: function (res) {
                    if (res == 1) {
                        var _tips = "<?php echo L('msg_submit_is_successful')?>";
                        $("#partnerFeedbackForm")[0].reset();
                    } else {
                        _tips = "<?php echo L('msg_submit_is_failure')?>";
                    }
                    $("p.tips")[0] && $("p.tips").remove();
                    $("#partnerFeedbackForm").find('.js-submit').parent().append("<p class='align-center tips'>" + _tips + "</p>");
                },
                error: function () {
                    var _tips = "<?php echo L('msg_submit_is_failure')?>";
                    $("p.tips")[0] && $("p.tips").remove();
                    $("#partnerFeedbackForm").find('.js-submit').parent().append("<p class='align-center tips'>" + _tips + "</p>");
                }
            });
        }
    });
</script>